-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: LPPD wheat distribution mechanism #3445
base: master
Are you sure you want to change the base?
Conversation
successful test result using the latest mainnet snapshot:
|
|
||
for _, lpPool := range lpPoolMap[lpAddress] { | ||
poolRowanMap[lpPool.Pool] = poolRowanMap[lpPool.Pool].Sub(lpPool.Amount) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@snobbee can you add a comment here describing what this for loop is doing?
err = cfg.RegisterMigration(types.ModuleName, 5, m.MigrateToVer6) | ||
if err != nil { | ||
panic(err) | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the need for a migration? I don't see any store migration functions.
No description provided.